std::ios_base::failure
From Cppreference
| C++ Standard Library | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
| Input/output library | ||||||||||||
| ios_base::failure | ||||||||||||
| ||||||||||||
| explicit failure(const std::string& message);
explicit failure(const std::string& message, const std::error_code& ec = io_errc::stream); | (pre-C++0x version) (C++0x version) | |
| explicit failure(const char* message, const std::error_code& ec = io_errc::stream);
| (C++0x feature) | |
Constructs the exception object using message as explanation string which can later be retrieved using what().
Parameters
| message | - | explanatory string |
Example
| This section is incomplete |